from scipy.special import comb, perm

print (comb(3, 2)*comb(7, 2)/comb(10, 4))